fromNumber

fun fromNumber(action: Promise<Int>): Task<Int>